% May 2024
% make pairs as id pairs for panel
encode PAIR_UNIQUE, generate(PARid) label(PAIR_UNIQUE)
% Set up panel
 xtset PARid id
%%%%%%%%%
% DVs: 1) Support - Not Support 2) Vote 3) Distance
% IVs: A) Euclidean B) left/right - EU Anti/Pro
%%%
%%% Models:
% Table 7 Model 1
% 1) Model 1 -> 1) Support A) Euclidean 
xtlogit Binary_Decision_same Euclidean Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, re or
outreg2 using SupportNotSupport_3d.doc, eform cti(odds ratio)



% 2) Model 2 -> 1) Support B) left/right - EU Anti/Pro
% Table 7 Model 2 
xtlogit Binary_Decision_same LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, re or



outreg2 using SupportNotSupport_3d.doc, eform cti(odds ratio)




% 3) Model 3 -> 2) Vote A) Euclidean
% Table 8 Model 3
xtlogit Decision_Same Euclidean Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, re or

outreg2 using Vote_3d.doc, eform cti(odds ratio)




% 4) Model 4 -> 2) Vote B) left/right - EU Anti/Pro
% Table 8 Model 4
xtlogit Decision_Same LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, re or


outreg2 using Vote_3d.doc, eform cti(odds ratio)




% 5) Model 5 -> 3) Distance A) Euclidean
% Table 9 Model 5
xtologit Decision_Distance Euclidean Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, or

outreg2 using Distance_3d.doc, eform cti(odds ratio)




% 6) Model 6 -> 3) Distance B) left/right - EU Anti/Pro
% Table 9 Model 6
xtologit Decision_Distance LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, or


outreg2 using Distance_3d.doc, eform cti(odds ratio)


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% QMV

%%% Models:
% 1) Model 1 -> 1) Support A) Euclidean
% Tble S.1 Model 1
xtlogit Binary_Decision_same Euclidean Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same if QMV==1, re or

outreg2 using QMV_SupportNotSupport_3d.doc, eform cti(odds ratio)


% 2) Model 2 -> 1) Support B) left/right - EU Anti/Pro
% Tble S.1 Model 2
xtlogit Binary_Decision_same LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same if QMV==1, re or

outreg2 using QMV_SupportNotSupport_3d.doc, eform cti(odds ratio)



% 3) Model 3 -> 2) Vote A) Euclidean
% Tble S.2 Model 3

xtlogit Decision_Same Euclidean Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same if QMV==1, re or


estimates store model_or
coefplot model_or, drop(_cons)  xline(1) eform

outreg2 using QMV_Vote_3d.doc, eform cti(odds ratio)



% 4) Model 4 -> 2) Vote B) left/right - EU Anti/Pro
% Tble S.2 Model 4

xtlogit Decision_Same LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same if QMV==1, re or

outreg2 using QMV_Vote_3d.doc, eform cti(odds ratio)



% 5) Model 5 -> 3) Distance A) Euclidean
% Tble S.3 Model 5

xtologit Decision_Distance Euclidean Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same if QMV==1, or


outreg2 using QMV_Distance_3d.doc, eform cti(odds ratio)



% 6) Model 6 -> 3) Distance B) left/right - EU Anti/Pro
% Tble S.3 Model 6

xtologit Decision_Distance LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same if QMV==1, or

outreg2 using QMV_Distance_3d.doc, eform cti(odds ratio)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% ROBUST
%%% Models:
% 1) Model 1 -> 1) Support A) Euclidean
% Table S.4 Model 1

xtlogit Binary_Decision_same Euclidean Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, re vce(robust) or

outreg2 using ROB_SupportNotSupport_3d.doc, eform cti(odds ratio)


% 2) Model 2 -> 1) Support B) left/right - EU Anti/Pro
% Table S.4 Model 2

xtlogit Binary_Decision_same LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, re vce(robust) or

outreg2 using ROB_SupportNotSupport_3d.doc, eform cti(odds ratio)


% 3) Model 3 -> 2) Vote A) Euclidean
% Table S.5 Model 3

xtlogit Decision_Same Euclidean Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, re vce(robust) or

outreg2 using ROB_Vote_3d.doc, eform cti(odds ratio)


% 4) Model 4 -> 2) Vote B) left/right - EU Anti/Pro
% Table S.5 Model 4

xtlogit Decision_Same LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, re vce(robust) or

outreg2 using ROB_Vote_3d.doc, eform cti(odds ratio)



% 5) Model 5 -> 3) Distance A) Euclidean
% Table S.6 Model 5

xtologit Decision_Distance Euclidean Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, vce(robust) or

outreg2 using ROB_Distance_3d.doc, eform cti(odds ratio)


% 6) Model 6 -> 3) Distance B) left/right - EU Anti/Pro
% Table S.6 Model 6

xtologit Decision_Distance LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same, vce(robust) or

outreg2 using ROB_Distance_3d.doc, eform cti(odds ratio)


%
% Table S.8
correlate LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO



% Table S.9
regress Decision_Distance LEFT_RIGHT LIBERTY_AUTHORITY EU_ANTI_PRO Total_Positive_Distance Power_Distance Net_Contribution_Same Old_New_Same

vif



